1bd49d1dd63f78d5e5b7a0b135fdfbdd5ddb09c4,community/main/java/org/neo4j/kernel/ha/SlaveIdGenerator.java,SlaveIdGenerator,storeLocally,#IdAllocation#,124
Before Change
{
this.highestIdInUse = allocation.getHighestIdInUse();
this.defragCount = allocation.getDefragCount();
for ( long id : allocation.getIds() )
{
idQueue.add( id );
}
updateLocalIdGenerator();
return idQueue.poll();
After Change
{
this.highestIdInUse = allocation.getHighestIdInUse();
this.defragCount = allocation.getDefragCount();
this.idQueue = new LongArrayIterator( allocation.getIds() );
updateLocalIdGenerator();
return idQueue.next();
}